package com.admin.core.mapper;

import com.admin.core.entity.SysDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author sq-lan
 */
@Mapper
public interface DeptMapper extends BaseMapper<SysDept> {

    List<SysDept> listByRoleId(@Param("roleId") int roleId);
}
